package edu.mercer.sse.configuration;

import com.google.common.base.Function;

import edu.mercer.sse.annotations.Fulfills;

/**
 * Remove leading, trailing spaces from String input.<p>
 * 
 * Used with Guava Iterables, Collections2 to clean unwanted spaces from 
 * 	Collections.<p>
 * 
 * @see Function
 */

public class TrimFunction implements Function<String,String>
{
	@Fulfills("Function")
	@Override
	public String apply( final String input ) 
	{
		return input.trim();
		
	}//method

	
}//class
